package org.thoughtworks.selenium.flex.codec;

/*
   <ListOfValues Name="FlexDateChooserDetailValues">
       <EnumValue Name="flexNextMonth"						RealValue="1" />
       <EnumValue Name="flexNextYear"       				RealValue="2" />
       <EnumValue Name="flexPreviousMonth"       			RealValue="3" />
       <EnumValue Name="flexPreviousYear"       			RealValue="4" />
   </ListOfValues>s
*/
public enum DateScrollDetail {

    NEXT_MONTH("1"),
    NEXT_YEAR("2"),
    PREVIOUS_MONTH("3"),
    PREVIOUS_YEAR("4");

    private final String value;

    DateScrollDetail(String value) {
        this.value = value;
    }

    public String value() {
        return value;
    }

    @Override
    public String toString() {
        return value;
    }
}
